package com.example.utils;


import java.io.File;
import java.io.Serializable;

/**
 * @className: MySendFile
 * @description: 待发送的文件
 * @date: 2022/5/28
 * @author: cakin
 */
public class MySendFile implements Serializable {
    private static final long serialVersionUID = 1L;
    // 文件
    private File file;
    // 文件名
    private String fileName;
    // 开始位置
    private int start;
    // 结束位置
    private int end;
    // 数据
    private byte[] bytes;

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

    public byte[] getBytes() {
        return bytes;
    }

    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

}